package com.etc.service.impl;

import com.etc.dao.BuildingDao;
import com.etc.entity.Building;
import com.etc.service.BuildingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BuildingServiceImpl implements BuildingService {
    @Resource
    private BuildingDao buildingDao;
    @Override
    public int updateBuilding(Building building) {
        return buildingDao.updateBuilding(building);
    }
}
